package cm.zhentao.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName t_device_gather
 */
@TableName(value ="t_device_gather")
@Data
public class TDeviceGather implements Serializable {
    /**
     * 设备采集数据主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 采集的设备id
     */
    @TableField(value = "deviceld")
    private Integer deviceld;

    /**
     * 设备唯一序列号
     */
    @TableField(value = "deviceSn")
    private String devicesn;

    /**
     * 设备名称
     */
    @TableField(value = "deviceName")
    private String devicename;

    /**
     * 传感器类型
     */
    @TableField(value = "deviceType")
    private String devicetype;

    /**
     * 采集的数据
     */
    @TableField(value = "basicData")
    private Double basicdata;

    /**
     * 检查点ID
     */
    @TableField(value = "monpointsId")
    private Integer monpointsid;

    /**
     * 计量单位ID，不同的传感器
     */
    @TableField(value = "measurementUnitk")
    private Integer measurementunitk;

    /**
     * 计量单位
     */
    @TableField(value = "measun")
    private String measun;

    /**
     * 单位类型
     */
    @TableField(value = "measureUnitType")
    private String measureunittype;

    /**
     * 采集时间
     */
    @TableField(value = "gatherTime")
    private Date gathertime;

    /**
     * 创建时间
     */
    @TableField(value = "createTime")
    private Date createtime;

    /**
     * 更新时间
     */
    @TableField(value = "updateTime")
    private Date updatetime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}